import { Row, Col, Tag } from 'myselfantd';
import type { CardProps } from 'antd';
import styles from './index.module.scss';
import React from 'react';
interface Props {
  item?: any;
  params: any;
}
const App: React.FC<CardProps & Props> = (props) => {
  let { item, params } = props;
  return (
    <div style={{ marginLeft: '24px' }}>
      <Row gutter={[16, 40]} style={{ marginTop: '12px' }}>
        <Col>
          <Tag noborder={1}>{params?.companyName}</Tag>
        </Col>
        <Col>
          <Tag limitLength={1} noborder={1}>
            地图编号:{item.code}
          </Tag>
        </Col>
      </Row>
      <Row gutter={[16, 40]}>{params?.address || '--'}</Row>
    </div>
  );
};
export default App;
